package com.jhgk.jhcee.auth.mapper;

import com.jhgk.jhcee.auth.model.MajorGroupCode;
import com.jhgk.jhcee.auth.model.MajorGroupCodeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MajorGroupCodeMapper {
    long countByExample(MajorGroupCodeExample example);

    int deleteByExample(MajorGroupCodeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MajorGroupCode record);

    int insertSelective(MajorGroupCode record);

    List<MajorGroupCode> selectByExample(MajorGroupCodeExample example);

    MajorGroupCode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MajorGroupCode record, @Param("example") MajorGroupCodeExample example);

    int updateByExample(@Param("record") MajorGroupCode record, @Param("example") MajorGroupCodeExample example);

    int updateByPrimaryKeySelective(MajorGroupCode record);

    int updateByPrimaryKey(MajorGroupCode record);
}